.class public Lcom/estrongs/android/pop/utils/j;
.super Ljava/lang/Object;
.source "AppOperateHelper.java"


# static fields
.field private static e:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

.field private b:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private c:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "[",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private d:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>(Lcom/estrongs/android/pop/view/FileExplorerActivity;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/pop/utils/j;->b:Ljava/util/Map;

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/pop/utils/j;->c:Ljava/util/Map;

    .line 4
    iput-object v0, p0, Lcom/estrongs/android/pop/utils/j;->d:Ljava/util/Map;

    .line 5
    iput-object p1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    return-void
.end method

.method private static a(Landroid/content/pm/PackageManager;Landroid/content/pm/ApplicationInfo;)Landroid/content/Intent;
    .locals 3

    const/4 v0, 0x0

    .line 30
    :try_start_0
    iget-object v1, p1, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-static {v1, p0}, Lcom/estrongs/android/util/c0;->a(Ljava/lang/String;Landroid/content/pm/PackageManager;)Landroid/content/Intent;

    move-result-object v1

    const/high16 v2, 0x10000000

    if-eqz v1, :cond_0

    .line 31
    invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    return-object v1

    .line 32
    :cond_0
    iget-object p1, p1, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-virtual {p0, p1}, Landroid/content/pm/PackageManager;->getLaunchIntentForPackage(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object p0

    if-eqz p0, :cond_1

    .line 33
    invoke-virtual {p0}, Landroid/content/Intent;->cloneFilter()Landroid/content/Intent;

    move-result-object p0

    .line 34
    invoke-virtual {p0, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p0

    :catch_0
    :cond_1
    return-object v0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/j;)Ljava/util/Map;
    .locals 0

    .line 5
    iget-object p0, p0, Lcom/estrongs/android/pop/utils/j;->b:Ljava/util/Map;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/j;Ljava/util/Map;)Ljava/util/Map;
    .locals 0

    .line 6
    iput-object p1, p0, Lcom/estrongs/android/pop/utils/j;->b:Ljava/util/Map;

    return-object p1
.end method

.method public static a()V
    .locals 1

    const/4 v0, 0x0

    .line 29
    sput-object v0, Lcom/estrongs/android/pop/utils/j;->e:Ljava/util/List;

    return-void
.end method

.method private a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;J)V
    .locals 8

    .line 53
    new-instance v7, Lcom/estrongs/android/pop/utils/j$e;

    move-object v0, v7

    move-object v1, p0

    move-object v2, p1

    move-wide v3, p4

    move-object v5, p3

    move-object v6, p2

    invoke-direct/range {v0 .. v6}, Lcom/estrongs/android/pop/utils/j$e;-><init>(Lcom/estrongs/android/pop/utils/j;Landroid/content/Context;JLjava/lang/String;Ljava/lang/String;)V

    const/4 p1, 0x0

    new-array p1, p1, [Ljava/lang/Void;

    .line 54
    invoke-virtual {v7, p1}, Landroid/os/AsyncTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/j;Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;J)V
    .locals 0

    .line 7
    invoke-direct/range {p0 .. p5}, Lcom/estrongs/android/pop/utils/j;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;J)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/j;Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V
    .locals 0

    .line 4
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/utils/j;->d(Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V

    return-void
.end method

.method public static a(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Z
    .locals 3

    .line 25
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.settings.APPLICATION_DETAILS_SETTINGS"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 26
    iget-object p1, p1, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    const-string v1, "package"

    const/4 v2, 0x0

    .line 27
    invoke-static {v1, p1, v2}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 28
    :try_start_0
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    const/4 p0, 0x1

    return p0

    :catch_0
    const/4 p0, 0x0

    return p0
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)Z
    .locals 5

    const/4 v0, 0x0

    .line 83
    :try_start_0
    new-instance v1, Landroid/content/Intent;

    const-string v2, "/"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 84
    new-instance v2, Landroid/content/ComponentName;

    const-string v3, "com.android.settings"

    const-string v4, "com.android.settings.Settings$AppOpsDetailsActivity"

    invoke-direct {v2, v3, v4}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 85
    invoke-virtual {v1, v2}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    const-string v2, "package"

    const/4 v3, 0x0

    .line 86
    invoke-static {v2, p1, v3}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    const/high16 v2, 0x10200000

    .line 87
    invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 88
    invoke-virtual {v1, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 89
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p0

    const/4 p1, 0x1

    .line 90
    invoke-virtual {p0, v1, p1}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;

    move-result-object p0

    if-eqz p0, :cond_0

    .line 91
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result p0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-lez p0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :catch_0
    move-exception p0

    .line 92
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "OpenAppPermissionDetail fail e = "

    invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0}, Lcom/estrongs/android/util/n;->f(Ljava/lang/String;)V

    :cond_0
    :goto_0
    return v0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/j;Ljava/lang/String;)Z
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/j;->a(Ljava/lang/String;)Z

    move-result p0

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/j;Ljava/util/List;)Z
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/j;->c(Ljava/util/List;)Z

    move-result p0

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/j;Ljava/util/List;Ljava/lang/String;)Z
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/utils/j;->a(Ljava/util/List;Ljava/lang/String;)Z

    move-result p0

    return p0
.end method

.method private a(Ljava/lang/String;)Z
    .locals 1

    const-string v0, "/data"

    .line 8
    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string v0, "/mnt/sdcard"

    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    const-string v0, "/mnt/asec"

    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_0

    goto :goto_0

    :cond_0
    const/4 p1, 0x1

    return p1

    :cond_1
    :goto_0
    const/4 p1, 0x0

    return p1
.end method

.method private a(Ljava/util/List;Ljava/lang/String;)Z
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "[",
            "Ljava/lang/String;",
            ">;",
            "Ljava/lang/String;",
            ")Z"
        }
    .end annotation

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 9
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_1

    .line 10
    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, [Ljava/lang/String;

    .line 11
    aget-object v2, v2, v0

    invoke-static {v2, p2}, Lcom/estrongs/android/util/h0;->d(Ljava/lang/String;Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    const/4 p1, 0x1

    return p1

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v0
.end method

.method public static b()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .line 18
    sget-object v0, Lcom/estrongs/android/pop/utils/j;->e:Ljava/util/List;

    return-object v0
.end method

.method public static b(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)V
    .locals 2

    const v0, 0x7f110a38

    .line 12
    :try_start_0
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    invoke-static {v1, p1}, Lcom/estrongs/android/pop/utils/j;->a(Landroid/content/pm/PackageManager;Landroid/content/pm/ApplicationInfo;)Landroid/content/Intent;

    move-result-object p1

    if-nez p1, :cond_0

    .line 13
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/utils/i;->a(Landroid/content/Context;I)V

    return-void

    :cond_0
    const/high16 v1, 0x10000000

    .line 14
    invoke-virtual {p1, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 15
    invoke-virtual {p0, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 16
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/utils/i;->a(Landroid/content/Context;I)V

    .line 17
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method public static b(Landroid/content/Context;Ljava/lang/String;)Z
    .locals 4

    .line 26
    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string v1, "/"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 27
    new-instance v1, Landroid/content/ComponentName;

    const-string v2, "com.android.settings"

    const-string v3, "com.android.settings.Settings$AppOpsDetailsActivity"

    invoke-direct {v1, v2, v3}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    .line 28
    invoke-virtual {v0, v1}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    const-string v1, "package"

    const/4 v2, 0x0

    .line 29
    invoke-static {v1, p1, v2}, Landroid/net/Uri;->fromParts(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p1

    const/high16 v1, 0x10200000

    .line 30
    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 31
    invoke-virtual {v0, p1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 32
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    const/4 p0, 0x1

    return p0

    :catch_0
    move-exception p0

    .line 33
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v0, "goAppPermissionsDetail fail e = "

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {p1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-static {p0}, Lcom/estrongs/android/util/n;->f(Ljava/lang/String;)V

    const/4 p0, 0x0

    return p0
.end method

.method private c(Ljava/util/List;)Z
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/y10;",
            ">;)Z"
        }
    .end annotation

    .line 1
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    :goto_0
    const/4 v3, 0x1

    if-ge v2, v0, :cond_1

    .line 2
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/y10;

    invoke-virtual {v4}, Lcom/estrongs/fs/a;->getPath()Ljava/lang/String;

    move-result-object v4

    .line 3
    invoke-direct {p0, v4}, Lcom/estrongs/android/pop/utils/j;->a(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_0

    const/4 v0, 0x1

    goto :goto_1

    :cond_0
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    :goto_1
    const v2, 0x7f110299

    const v4, 0x7f11029e

    const v5, 0x7f11065a

    if-eqz v0, :cond_3

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {v0, v1}, Lcom/estrongs/fs/impl/local/j;->a(Landroid/content/Context;Z)Z

    move-result v0

    if-nez v0, :cond_2

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v0, 0x7f110b01

    .line 6
    invoke-virtual {p1, v0}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    .line 7
    invoke-static {p1, v0, v3}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return v1

    .line 8
    :cond_2
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    .line 9
    invoke-virtual {v0, v5}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f110b02

    .line 10
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/utils/j$g;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/pop/utils/j$g;-><init>(Lcom/estrongs/android/pop/utils/j;Ljava/util/List;)V

    .line 11
    invoke-virtual {v0, v4, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance p1, Lcom/estrongs/android/pop/utils/j$f;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/utils/j$f;-><init>(Lcom/estrongs/android/pop/utils/j;)V

    .line 12
    invoke-virtual {v0, v2, p1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 13
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    goto :goto_4

    .line 14
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {v0, v1}, Lcom/estrongs/fs/impl/local/j;->a(Landroid/content/Context;Z)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 15
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->b1()Z

    move-result v0

    if-eqz v0, :cond_4

    .line 16
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    .line 17
    invoke-virtual {v0, v5}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f1100f5

    .line 18
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance v1, Lcom/estrongs/android/pop/utils/j$i;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/pop/utils/j$i;-><init>(Lcom/estrongs/android/pop/utils/j;Ljava/util/List;)V

    .line 19
    invoke-virtual {v0, v4, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    new-instance p1, Lcom/estrongs/android/pop/utils/j$h;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/utils/j$h;-><init>(Lcom/estrongs/android/pop/utils/j;)V

    .line 20
    invoke-virtual {v0, v2, p1}, Lcom/estrongs/android/ui/dialog/q$n;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 21
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    goto :goto_4

    .line 22
    :cond_4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 23
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 24
    :goto_2
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v4

    if-ge v1, v4, :cond_6

    .line 25
    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/y10;

    invoke-virtual {v4}, Les/y10;->p()Landroid/content/pm/ApplicationInfo;

    move-result-object v4

    if-nez v4, :cond_5

    goto :goto_3

    .line 26
    :cond_5
    iget-object v4, v4, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 27
    invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/y10;

    invoke-virtual {v4}, Lcom/estrongs/fs/m;->getName()Ljava/lang/String;

    move-result-object v4

    invoke-interface {v2, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    .line 28
    :cond_6
    iget-object p1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p1, v0, v2}, Lcom/estrongs/android/pop/view/utils/b;->b(Landroid/app/Activity;Ljava/util/List;Ljava/util/List;)V

    :goto_4
    return v3
.end method

.method private d(Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V
    .locals 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/view/FileExplorerActivity;",
            "Ljava/util/List<",
            "Les/y10;",
            ">;)V"
        }
    .end annotation

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->z()Ljava/lang/String;

    move-result-object v0

    .line 3
    new-instance v1, Les/v60;

    .line 4
    invoke-static {p1}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v2

    invoke-direct {v1, p1, v2, p2, v0}, Les/v60;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/f;Ljava/util/List;Ljava/lang/String;)V

    .line 5
    new-instance v2, Lcom/estrongs/android/pop/utils/j$b;

    invoke-direct {v2, p0, p1}, Lcom/estrongs/android/pop/utils/j$b;-><init>(Lcom/estrongs/android/pop/utils/j;Lcom/estrongs/android/pop/view/FileExplorerActivity;)V

    .line 6
    iget-object v3, p0, Lcom/estrongs/android/pop/utils/j;->c:Ljava/util/Map;

    if-nez v3, :cond_0

    .line 7
    new-instance v3, Ljava/util/HashMap;

    invoke-direct {v3}, Ljava/util/HashMap;-><init>()V

    iput-object v3, p0, Lcom/estrongs/android/pop/utils/j;->c:Ljava/util/Map;

    :cond_0
    const-string v3, "/"

    .line 8
    invoke-virtual {v0, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_1

    .line 9
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 10
    :cond_1
    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :goto_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    const/4 v4, 0x1

    if-eqz v3, :cond_2

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/y10;

    .line 11
    iget-object v5, p0, Lcom/estrongs/android/pop/utils/j;->c:Ljava/util/Map;

    invoke-virtual {v3}, Les/y10;->p()Landroid/content/pm/ApplicationInfo;

    move-result-object v6

    iget-object v6, v6, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    const/4 v7, 0x2

    new-array v7, v7, [Ljava/lang/String;

    const/4 v8, 0x0

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v9, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 12
    invoke-virtual {v3}, Les/y10;->s()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    aput-object v9, v7, v8

    .line 13
    invoke-virtual {v3}, Les/y10;->r()Les/b20;

    move-result-object v3

    invoke-virtual {v3}, Les/b20;->c()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v7, v4

    .line 14
    invoke-interface {v5, v6, v7}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    :cond_2
    const p2, 0x7f11015c

    .line 15
    invoke-virtual {p1, p2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v1, p2}, Les/s80;->a(Ljava/lang/String;)V

    .line 16
    invoke-virtual {v1, v2}, Les/s80;->a(Les/z80;)V

    .line 17
    new-instance p2, Lcom/estrongs/android/ui/dialog/a1;

    const v0, 0x7f1108fe

    invoke-virtual {p1, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p2, p1, v0, v1}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;)V

    invoke-virtual {p2}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 18
    const-class p1, Les/v80$f;

    invoke-virtual {v1, p1}, Les/s80;->a(Ljava/lang/Class;)Les/v80$c;

    move-result-object p1

    check-cast p1, Les/v80$f;

    .line 19
    iput v4, p1, Les/v80$c;->c:I

    const/4 p1, 0x0

    .line 20
    invoke-virtual {v1, p1}, Les/s80;->a(Les/v80;)V

    .line 21
    invoke-virtual {v1}, Les/s80;->d()V

    return-void
.end method

.method public static d(Ljava/util/List;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    .line 1
    sput-object p0, Lcom/estrongs/android/pop/utils/j;->e:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public a(Landroid/content/Context;)Ljava/util/List;
    .locals 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            ")",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .line 66
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 67
    :try_start_0
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 68
    invoke-static {p1, v1}, Lcom/estrongs/android/pop/l;->a(Landroid/content/Context;Ljava/util/Map;)V

    .line 69
    invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z

    move-result v2

    if-nez v2, :cond_2

    .line 70
    invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object p1

    const/16 v2, 0x2000

    .line 71
    invoke-static {v2}, Lcom/estrongs/android/pop/FexApplication;->a(I)Ljava/util/List;

    move-result-object v2

    .line 72
    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/content/pm/ApplicationInfo;

    .line 73
    iget-object v4, v3, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    invoke-interface {v1, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 74
    iget v4, v3, Landroid/content/pm/ApplicationInfo;->flags:I

    and-int/lit16 v4, v4, 0x80

    const/4 v5, 0x1

    if-nez v4, :cond_1

    iget v4, v3, Landroid/content/pm/ApplicationInfo;->flags:I

    and-int/2addr v4, v5

    if-nez v4, :cond_0

    .line 75
    :cond_1
    iget-object v4, v3, Landroid/content/pm/ApplicationInfo;->sourceDir:Ljava/lang/String;

    if-eqz v4, :cond_0

    .line 76
    new-instance v4, Les/y10;

    iget-object v6, v3, Landroid/content/pm/ApplicationInfo;->sourceDir:Ljava/lang/String;

    sget-object v7, Lcom/estrongs/fs/l;->d:Lcom/estrongs/fs/l;

    .line 77
    invoke-static {p1, v3}, Lcom/estrongs/android/pop/utils/k;->a(Landroid/content/pm/PackageManager;Landroid/content/pm/ApplicationInfo;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v4, v6, v7, v8, v3}, Les/y10;-><init>(Ljava/lang/String;Lcom/estrongs/fs/l;Ljava/lang/String;Landroid/content/pm/ApplicationInfo;)V

    .line 78
    invoke-static {p1, v3}, Lcom/estrongs/android/pop/utils/k;->b(Landroid/content/pm/PackageManager;Landroid/content/pm/ApplicationInfo;)[Ljava/lang/String;

    move-result-object v3

    const/4 v6, 0x0

    .line 79
    aget-object v6, v3, v6

    invoke-virtual {v4, v6}, Les/y10;->c(Ljava/lang/String;)V

    .line 80
    aget-object v3, v3, v5

    invoke-virtual {v4, v3}, Les/y10;->d(Ljava/lang/String;)V

    .line 81
    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 82
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_2
    return-object v0
.end method

.method public a(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 4

    .line 55
    invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object p2

    invoke-virtual {p2}, Landroid/net/Uri;->getSchemeSpecificPart()Ljava/lang/String;

    move-result-object p2

    if-eqz p2, :cond_0

    .line 56
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->c:Ljava/util/Map;

    if-eqz v0, :cond_0

    invoke-interface {v0, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 57
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->c:Ljava/util/Map;

    invoke-interface {v0, p2}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, [Ljava/lang/String;

    if-eqz p2, :cond_0

    .line 58
    new-instance v0, Les/c70;

    invoke-static {p1}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v1

    const/4 v2, 0x0

    aget-object v3, p2, v2

    invoke-static {v3}, Lcom/estrongs/fs/impl/local/f;->f(Ljava/lang/String;)Lcom/estrongs/fs/impl/local/d;

    move-result-object v3

    invoke-direct {v0, v1, v3, v2, v2}, Les/c70;-><init>(Lcom/estrongs/fs/f;Lcom/estrongs/fs/g;ZZ)V

    invoke-virtual {v0}, Les/s80;->d()V

    const v0, 0x7f1100e0

    const/4 v1, 0x1

    new-array v3, v1, [Ljava/lang/Object;

    .line 59
    aget-object p2, p2, v1

    aput-object p2, v3, v2

    .line 60
    invoke-virtual {p1, v0, v3}, Landroid/content/Context;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p2

    .line 61
    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 62
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method public a(Les/a20;)V
    .locals 12

    .line 35
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/estrongs/fs/impl/local/j;->a(Landroid/content/Context;Z)Z

    move-result v0

    .line 36
    invoke-virtual {p1}, Les/a20;->o()Ljava/lang/String;

    move-result-object v2

    if-eqz v0, :cond_1

    if-eqz v2, :cond_1

    .line 37
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 38
    invoke-static {v0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/estrongs/fs/f;->c(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 39
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v0}, Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    invoke-virtual {p1}, Lcom/estrongs/fs/a;->d()Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x1

    invoke-virtual {v0, v3, v4}, Landroid/content/pm/PackageManager;->getPackageArchiveInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v0

    .line 40
    iget-object v0, v0, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    iget-object v0, v0, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    .line 41
    new-instance v3, Lcom/estrongs/android/ui/dialog/q;

    iget-object v5, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v3, v5}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    const v5, 0x7f11006a

    .line 42
    invoke-virtual {v3, v5}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    .line 43
    invoke-virtual {v3, v1}, Lcom/estrongs/android/ui/dialog/q;->setSelectable(Z)V
    :try_end_0
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_0 .. :try_end_0} :catch_1

    .line 44
    :try_start_1
    iget-object v5, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v5}, Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v5

    invoke-virtual {v5, v0, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object v5
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    :catch_0
    const/4 v5, 0x0

    :goto_0
    const v6, 0x7f110107

    const/4 v7, 0x2

    const v8, 0x7f1101dc

    const v9, 0x7f110911

    const/4 v10, 0x3

    if-nez v5, :cond_0

    :try_start_2
    new-array v5, v10, [Ljava/lang/String;

    .line 45
    iget-object v10, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v10, v9}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v9

    aput-object v9, v5, v1

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1, v8}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v5, v4

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1, v6}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v5, v7

    .line 46
    new-instance v1, Lcom/estrongs/android/pop/utils/j$c;

    invoke-direct {v1, p0, p1, v0, v2}, Lcom/estrongs/android/pop/utils/j$c;-><init>(Lcom/estrongs/android/pop/utils/j;Les/a20;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    :cond_0
    const/4 v5, 0x4

    new-array v5, v5, [Ljava/lang/String;

    .line 47
    iget-object v11, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v11, v9}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v9

    aput-object v9, v5, v1

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1, v8}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v5, v4

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v4, 0x7f110128

    invoke-virtual {v1, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v5, v7

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v1, v6}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    aput-object v1, v5, v10

    .line 48
    new-instance v1, Lcom/estrongs/android/pop/utils/j$d;

    invoke-direct {v1, p0, p1, v0, v2}, Lcom/estrongs/android/pop/utils/j$d;-><init>(Lcom/estrongs/android/pop/utils/j;Les/a20;Ljava/lang/String;Ljava/lang/String;)V

    :goto_1
    const/4 p1, -0x1

    .line 49
    invoke-virtual {v3, v5, p1, v1}, Lcom/estrongs/android/ui/dialog/q;->setItems([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)V

    .line 50
    invoke-virtual {v3}, Lcom/estrongs/android/ui/dialog/q;->show()V

    goto :goto_2

    .line 51
    :cond_1
    new-instance v0, Lcom/estrongs/android/ui/dialog/g;

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {v0, v1, p1}, Lcom/estrongs/android/ui/dialog/g;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/g;)V

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/g;->a()V
    :try_end_2
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_2

    :catch_1
    move-exception p1

    .line 52
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_2
    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    .line 63
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->d:Ljava/util/Map;

    if-nez v0, :cond_0

    .line 64
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/utils/j;->d:Ljava/util/Map;

    .line 65
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->d:Ljava/util/Map;

    invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public a(Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)Z
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/view/FileExplorerActivity;",
            "Ljava/util/List<",
            "Les/y10;",
            ">;)Z"
        }
    .end annotation

    .line 16
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    .line 17
    new-instance v7, Les/u60;

    .line 18
    invoke-static {p1}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v2

    invoke-virtual {p1}, Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v3

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->p()Ljava/lang/String;

    move-result-object v5

    const/4 v8, 0x0

    invoke-static {p1, v8}, Lcom/estrongs/fs/impl/local/j;->a(Landroid/content/Context;Z)Z

    move-result v1

    const/4 v9, 0x1

    if-eqz v1, :cond_0

    .line 19
    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->e()Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v6, 0x1

    goto :goto_0

    :cond_0
    const/4 v6, 0x0

    :goto_0
    move-object v1, v7

    move-object v4, p2

    invoke-direct/range {v1 .. v6}, Les/u60;-><init>(Lcom/estrongs/fs/f;Landroid/content/pm/PackageManager;Ljava/util/List;Ljava/lang/String;Z)V

    .line 20
    new-instance v1, Lcom/estrongs/android/pop/utils/j$k;

    invoke-direct {v1, p0, p1, p2}, Lcom/estrongs/android/pop/utils/j$k;-><init>(Lcom/estrongs/android/pop/utils/j;Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V

    .line 21
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v3, 0x7f1101ae

    invoke-virtual {v2, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " -> "

    invoke-virtual {p2, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->p()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {v7, p2}, Les/s80;->a(Ljava/lang/String;)V

    .line 22
    invoke-virtual {v7, v1}, Les/s80;->a(Les/z80;)V

    .line 23
    new-instance p2, Lcom/estrongs/android/ui/dialog/a1;

    const v0, 0x7f1108db

    invoke-virtual {p1, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p2, p1, v0, v7}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;)V

    invoke-virtual {p2, v8}, Lcom/estrongs/android/ui/dialog/a1;->b(Z)Lcom/estrongs/android/ui/dialog/a1;

    invoke-virtual {p2}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 24
    invoke-virtual {v7}, Les/s80;->d()V

    return v9
.end method

.method public a(Ljava/util/List;)Z
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/y10;",
            ">;)Z"
        }
    .end annotation

    const/4 v0, 0x0

    if-eqz p1, :cond_1

    .line 12
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    if-gtz v1, :cond_0

    goto :goto_0

    .line 13
    :cond_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    .line 14
    new-instance v2, Lcom/estrongs/android/pop/utils/j$j;

    invoke-direct {v2, p0, v1, p1}, Lcom/estrongs/android/pop/utils/j$j;-><init>(Lcom/estrongs/android/pop/utils/j;ILjava/util/List;)V

    sget-object p1, Landroid/os/AsyncTask;->THREAD_POOL_EXECUTOR:Ljava/util/concurrent/Executor;

    new-array v0, v0, [Ljava/lang/Void;

    .line 15
    invoke-virtual {v2, p1, v0}, Landroid/os/AsyncTask;->executeOnExecutor(Ljava/util/concurrent/Executor;[Ljava/lang/Object;)Landroid/os/AsyncTask;

    const/4 p1, 0x1

    return p1

    :cond_1
    :goto_0
    return v0
.end method

.method public b(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 0

    .line 22
    invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object p1

    invoke-virtual {p1}, Landroid/net/Uri;->getSchemeSpecificPart()Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 23
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/j;->d:Ljava/util/Map;

    if-eqz p2, :cond_0

    invoke-interface {p2, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p2

    if-eqz p2, :cond_0

    .line 24
    :try_start_0
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/j;->d:Ljava/util/Map;

    invoke-interface {p2, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    .line 25
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-static {p2, p1}, Lcom/estrongs/android/pop/view/utils/b;->c(Landroid/app/Activity;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_0
    return-void
.end method

.method public b(Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/view/FileExplorerActivity;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    if-eqz p2, :cond_1

    .line 19
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v0

    if-gtz v0, :cond_0

    goto :goto_0

    .line 20
    :cond_0
    sput-object p2, Lcom/estrongs/android/pop/utils/j;->e:Ljava/util/List;

    const-string p2, "app://update"

    .line 21
    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->j(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    :cond_1
    :goto_0
    return-void
.end method

.method public b(Ljava/util/List;)Z
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/y10;",
            ">;)Z"
        }
    .end annotation

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->c()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 3
    new-instance v1, Les/u60;

    iget-object v2, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    .line 4
    invoke-static {v2}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v3

    iget-object v2, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {v2}, Landroid/app/Activity;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v4

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->p()Ljava/lang/String;

    move-result-object v6

    iget-object v2, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const/4 v8, 0x0

    invoke-static {v2, v8}, Lcom/estrongs/fs/impl/local/j;->a(Landroid/content/Context;Z)Z

    move-result v2

    const/4 v9, 0x1

    if-eqz v2, :cond_0

    .line 5
    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->e()Z

    move-result v2

    if-eqz v2, :cond_0

    const/4 v7, 0x1

    goto :goto_0

    :cond_0
    const/4 v7, 0x0

    :goto_0
    move-object v2, v1

    move-object v5, p1

    invoke-direct/range {v2 .. v7}, Les/u60;-><init>(Lcom/estrongs/fs/f;Landroid/content/pm/PackageManager;Ljava/util/List;Ljava/lang/String;Z)V

    .line 6
    new-instance v2, Lcom/estrongs/android/pop/utils/j$a;

    invoke-direct {v2, p0, p1}, Lcom/estrongs/android/pop/utils/j$a;-><init>(Lcom/estrongs/android/pop/utils/j;Ljava/util/List;)V

    .line 7
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v4, 0x7f1101ae

    invoke-virtual {v3, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, " -> "

    invoke-virtual {p1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->p()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1}, Les/s80;->a(Ljava/lang/String;)V

    .line 8
    invoke-virtual {v1, v2}, Les/s80;->a(Les/z80;)V

    .line 9
    new-instance p1, Lcom/estrongs/android/ui/dialog/a1;

    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v2, 0x7f1108db

    invoke-virtual {v0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {p1, v0, v2, v1}, Lcom/estrongs/android/ui/dialog/a1;-><init>(Landroid/app/Activity;Ljava/lang/String;Les/s80;)V

    invoke-virtual {p1, v8}, Lcom/estrongs/android/ui/dialog/a1;->b(Z)Lcom/estrongs/android/ui/dialog/a1;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/a1;->show()V

    .line 10
    invoke-virtual {v1}, Les/s80;->d()V

    return v9

    .line 11
    :cond_1
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/j;->c(Ljava/util/List;)Z

    move-result p1

    return p1
.end method

.method public c(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 6

    .line 50
    invoke-virtual {p2}, Landroid/content/Intent;->getData()Landroid/net/Uri;

    move-result-object p2

    invoke-virtual {p2}, Landroid/net/Uri;->getSchemeSpecificPart()Ljava/lang/String;

    move-result-object v2

    if-eqz v2, :cond_0

    .line 51
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/j;->b:Ljava/util/Map;

    if-eqz p2, :cond_0

    invoke-interface {p2, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p2

    if-eqz p2, :cond_0

    .line 52
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/j;->b:Ljava/util/Map;

    invoke-interface {p2, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p2

    move-object v3, p2

    check-cast v3, Ljava/lang/String;

    .line 53
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/j;->b:Ljava/util/Map;

    invoke-interface {p2, v2}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    const-wide/16 v4, 0xbb8

    move-object v0, p0

    move-object v1, p1

    .line 54
    invoke-direct/range {v0 .. v5}, Lcom/estrongs/android/pop/utils/j;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;J)V

    :cond_0
    return-void
.end method

.method public c(Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/view/FileExplorerActivity;",
            "Ljava/util/List<",
            "Les/y10;",
            ">;)V"
        }
    .end annotation

    .line 29
    const-class v0, Les/v60;

    invoke-static {v0}, Les/s80;->b(Ljava/lang/Class;)Z

    move-result v0

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    const p2, 0x7f110a67

    .line 30
    invoke-virtual {p1, p2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p2

    .line 31
    invoke-static {p1, p2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    return-void

    .line 32
    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 33
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v2

    const/4 v3, 0x0

    if-ne v2, v1, :cond_1

    .line 34
    invoke-interface {v0, p2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    goto :goto_1

    .line 35
    :cond_1
    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    const/4 v2, 0x0

    :goto_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/y10;

    .line 36
    invoke-virtual {v4}, Les/y10;->r()Les/b20;

    move-result-object v5

    invoke-virtual {v5}, Les/b20;->h()Z

    move-result v5

    if-eqz v5, :cond_2

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 37
    :cond_2
    invoke-interface {v0, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_3
    if-lt v2, v1, :cond_4

    .line 38
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/j;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    const v4, 0x7f110520

    new-array v5, v1, [Ljava/lang/Object;

    .line 39
    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v5, v3

    invoke-virtual {p2, v4, v5}, Landroid/app/Activity;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    .line 40
    invoke-static {p2, v2, v1}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    .line 41
    :cond_4
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result p2

    if-gtz p2, :cond_5

    return-void

    .line 42
    :cond_5
    :goto_1
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result p2

    if-ne p2, v1, :cond_6

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Les/y10;

    invoke-virtual {p2}, Les/y10;->r()Les/b20;

    move-result-object p2

    invoke-virtual {p2}, Les/b20;->h()Z

    move-result p2

    if-eqz p2, :cond_6

    .line 43
    new-instance p2, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {p2, p1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v1, 0x7f11065f

    .line 44
    invoke-virtual {p2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f110521

    .line 45
    invoke-virtual {p1, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Ljava/lang/CharSequence;)Lcom/estrongs/android/ui/dialog/q$n;

    const v1, 0x7f11092d

    .line 46
    invoke-virtual {p1, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Lcom/estrongs/android/pop/utils/j$l;

    invoke-direct {v2, p0, p1, v0}, Lcom/estrongs/android/pop/utils/j$l;-><init>(Lcom/estrongs/android/pop/utils/j;Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V

    invoke-virtual {p2, v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;->b(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const v0, 0x7f110299

    .line 47
    invoke-virtual {p1, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance v0, Lcom/estrongs/android/pop/utils/j$m;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/utils/j$m;-><init>(Lcom/estrongs/android/pop/utils/j;)V

    invoke-virtual {p2, p1, v0}, Lcom/estrongs/android/ui/dialog/q$n;->a(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 48
    invoke-virtual {p2}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    goto :goto_2

    .line 49
    :cond_6
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/pop/utils/j;->d(Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V

    :goto_2
    return-void
.end method
